<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>信息列表-tomcat port:${serverPort}</title>
</head>
<body>
<div style="width: fit-content">
    <a href="/resume/add" style="float:right">新增</a>
    <br/>
    <table border="1">
        <tr>
            <td>id</td>
            <td>姓名</td>
            <td>地址</td>
            <td>电话号码</td>
            <td>操作</td>
        </tr>
        <div th:each="resume:${resumes}">
            <tr>
                <td th:text="${resume.id}"></td>
                <td th:text="${resume.name}"></td>
                <td th:text="${resume.address}"></td>
                <td th:text="${resume.phone}"></td>
                <td>
                    <a href="/resume/update?id=${resume.id}">修改</a>
                    <a href="/resume/delete?id=${resume.id}">删除</a>
                </td>
            </tr>
        </div>
    </table>

</div>

</body>
</html>
